import express from 'express';
import adaptorCrud from '../controller/adaptor';
const router = express.Router();

export = (app: any) => {
  router.get('/weather', adaptorCrud.weather); // 天气
  router.get('/captcha', adaptorCrud.captcha); // 验证码

  app.use('/node/adaptor', router);
};
